package com.xhsj.user.hr.userInfo.entity;

import java.math.BigDecimal;
import com.xhsj.user.hr.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户_薪资情况
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_global_user_salary")
public class TbGlobalUserSalary extends BaseEntity<TbGlobalUserSalary> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id 逻辑外键 tb_global_user 表id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 总工资
     */
    @TableField("total_wage")
    private BigDecimal totalWage;

    /**
     * 基础工资
     */
    @TableField("basic_wage")
    private BigDecimal basicWage;

    /**
     * 绩效工资
     */
    @TableField("merit_pay")
    private BigDecimal meritPay;

    /**
     * 批次
     */
    @TableField("batch")
    private Integer batch;

    /**
     * 状态 0正常 1注销
     */
    @TableField("stauts")
    private Integer stauts;

    /**
     * 薪资类别0试用期 1正式
     */
    @TableField("salary_type")
    private Integer salaryType;



}
